<template>
  <span class="text-view-css" :style="{
    fontSize:fontSize,
    color
}">
    {{ text }}
  </span>
</template>

<script>
export default {
  name: 's-text-view',
  props:{
    text: {
      type: String,
      default: ''
    },
    fontSize:{
      type:Number,
      default:30
    },
    color:{
      type:String,
      default:'black'
    }
  },
  setup(){

  }
}
</script>



<style scoped>

.text-view-css {
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

</style>
